<?php

header("Content-type: text/css"); 

  if (isset($_GET['id'])) $layout = $_GET['id']; else $layout = '0';
  $tieneCol1 = (($layout & 1) == 1);
  $tieneCol2 = (($layout & 2) == 2);
/*  bits del layout:
1- tiene columna 1
2- tiene columna 2
*/

$color1 = "#0f0e0c"; //negro
$color2 = "#2e2829"; //gris
$color3 = "#dca246"; //amarillo
$color4 = "#c20b43"; //prunus
$color5 = "#f9f7fc"; //blanco

$col1Width = 200;
$col2Width = 200;
$colsWidth = 0; if ($tieneCol1) $colsWidth += $col1Width; if ($tieneCol2) $colsWidth += $col2Width;
$col1BkgCol = $color3;
$col2BkgCol = $color4;
$colRightBkgCol = $color2;
$colRightColor = $color5;

$headerFondo = $color2;
$headerColor = $color3;
$bodyFondo = $color5;
$bodyColor = $color1;
$pieColor = $color2;
$anchorColor = $color3;
$anchorHover = $color4;
?>

body,html {
  background-color: <?php echo $bodyFondo; ?>;
  margin: 0px; padding: 0px;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;  	
  font-size: 12px;
  color: <?php echo $bodyColor; ?>;
  height:100%;
}
div#nonfooter {
  position: relative;
  min-height: 100%;
}
* html #nonfooter {
  height: 100%;
}
div#header {
  height: 60px;
  overflow: hidden;
  color: <?php echo $headerColor; ?>;
  font-size: 10px;
  background-color: #4e4e4e;
}
div#container {
  overflow: hidden;
  padding-bottom: 20px;
}

div#leftarea {
  width: <?php echo $col1Width; ?>px;
  float: left;
  background-color: <?php echo $col1BkgCol; ?>;
  <?php if (! $tieneCol1) echo ("display: none;"); ?>
}
div#leftarea2 {
  width: <?php echo $col2Width; ?>px;
  float: left;
  background-color: <?php echo $col2BkgCol; ?>;
  <?php if (! $tieneCol2) echo ("display: none;"); ?>
}
div#rightarea {
  background-color: <?php echo $colRightBkgCol; ?>;
  margin-left: <?php echo $colsWidth; ?>px;
  color: <?php echo $colRightColor; ?>;
}
div#footer {
  width: 100%;
  text-align: center;
  font-size: 10px;
  color: <?php echo $pieColor; ?>;
  height: 20px;
  overflow: hidden;
  background-color: #cd3a3a;
  position: relative;
  margin-top: -20px;
}



a, a:link, a:visited, a:active {
  color: <?php echo $anchorColor; ?>;
  text-decoration: none;
}
a:hover {
  color: <?php echo $anchorHover; ?>;
}
 

div.pr-clear {
  clear: both;
}
div.pr-container {
  margin: 0px;
  padding: 0px;
  width: 49%;
  float: left;
}
div.pr-container-head {
  border-bottom: 3px #633 dashed;
}
div.pr-container-body {
}
div.pr-container-body fieldset {
}
div.pr-container-body legend {
}
div.pr-container-body dl {
}
div.pr-container-body dt {
}
div.pr-container-body dd {
}
div.pr-container-body input {
}
div.pr-container-foot {
  border-top: 3px #633 dashed;
}



div#breadcrumbs a {
  text-decoration: none;
  color: #fff;
}


ul.menuUL,
ul.menuUL ul {
  font-family: verdana;
  font-size: 10px;
  text-decoration: none;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
ul.menuUL ul {
  margin-left: 10px !important;
}
  span.menuLI a {
  text-decoration: none;
  color: #fff !important;
}
span.menuLIActual a {
  color: #300;
  text-decoration: none;
}



ul.accionesRegistro {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

ul.accionesRegistro li {
  float: left;
  margin: 0px;
  padding: 0px;
}
ul.pager {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  border-top: 1px #ccc dashed;
}
ul.pager li {
  width: 20px;
  float: left;
  margin: 0px;
  padding: 0px;
}
ul.pager li a,
ul.pager li a:visited,
ul.pager li a:link,
ul.pager li a:active,
ul.pager li a {
  color: #ccc;
  text-decoration: none;
}
ul.pager li.pager_close {
  float: none;
  clear: both;
  height: 1px;
}

<?php include_once 'ci_profiler.php'; ?>
